package com.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * Version: V1.0    <br/>
 * Datetime:   2022/5/15 16:34   <br/>
 * Description: 作答详细记录
 *
 * @author: chen
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class ExamAnswerDetail {
    /**
    * 自增长id
    */
    private Integer id;

    /**
    * 答题人id
    */
    private Integer userId;

    /**
    * 试卷id
    */
    private Integer testPaperId;

    /**
    * 题目id
    */
    private Integer questionId;

    /**
    * 得分
    */
    private Integer score;

    /**
    * 作答内容
    */
    private String answerContent;

    /**
    * 作答结果：0-错误;1-正确
    */
    private Integer answerStatus;

    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}